﻿using RFBR.DataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RFBR.Core.Infrastructure.Models.Structure
{
	public interface IFrame: IEntity
	{
		IFrame Parent { get; set; }
		IEnumerable<IFrame> Childs { get; set; }
		IEnumerable<ISlot> Slots { get; set; }
		bool IsSubFrame { get; set; }
		ISlot CreateSlot(string name = "Slot", EntityType type = EntityType.Custom, InheritanceType inheritance = InheritanceType.Override);
	}
}
